<template>
  <view>
    <view class="cm-sticky" :id="id"
      :style="[wrapperStyle]">
      
      <view class="cm-sticky-wrapper" :id="contentId" :style="[stickyStyle, cmStyle]" :class="[stickyClass, cmClass]">
        <slot></slot>
      </view>
      
    </view>    
  </view>
</template>

<script src="./cm-sticky.js"></script>

<style lang="stylus">
@import './cm-sticky.styl'
</style>
